export const columns = [
  {
    prop: '',
    label: '展开',
    width: 100
  },
  {
    prop: 'name',
    label: '职位名称'
  },
  {
    type: 'slot',
    slotName: 'hot',
    label: '热门职位'
  },
  {
    type: 'slot',
    slotName: 'enableStatus',
    label: '启用状态'
  },
  {
    type: 'slot',
    slotName: 'action',
    label: '操作'
  }
]

export const formItems = [
  {
    type: 'input',
    label: '职位名称',
    data: 'name'
  },
  {
    type: 'select',
    label: '是否热门',
    data: 'hot',
    options: [
      { label: '是', value: 1 },
      { label: '否', value: 0 }
    ]
  },
  {
    type: 'select',
    label: '启用状态',
    data: 'enableStatus',
    options: [
      { label: '启用', value: 1 },
      { label: '禁用', value: 0 }
    ]
  }
]
